package com.yr.ryjk.department.service;

import java.util.List;
import java.util.Map;

import com.yr.ryjk.department.entity.Department;

public interface IDepartmentService {
	/**
	 * 根据id获取信息
	 * @param id
	 * @return
	 */
	Department getDepartmentById(String id);
	
	/**
	 * 获取所有科室
	 * @return
	 */
	List<Department> getAllDepartment();
     
    /**
 	 * 分页查询科室列表
 	 * @param pageNo 当前页码
 	 * @param pageSize 每页条数
 	 * @param disease 
 	 * @param name 
 	 * @return
 	 */
 	Map<String, Object> getListOfPage(int pageNo, int pageSize, String name, String treatDisease);
 	
 	 
    /**
	 * App查询科室列表
	 * @param disease 
	 * @param name 
	 * @return
	 */
	Object getListOfApp(String name, String treatDisease);
    
 	/**
 	 * 新增科室
 	 * @param department
 	 */
 	Map<String, Object> addDepartment(Department department);
 	
 	/**
 	 * 修改指定科室
 	 * @param department
 	 */
 	Map<String, Object> modifyDepartmentInfo(Department department);
}
